package com.taylor.service;

import com.taylor.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by 357070 on 2016/9/10.
 */
@RequestMapping("/v1/user")
public interface UserService {

    @RequestMapping(value = "/get/{name}", method = RequestMethod.GET)
    User getUser(String name);

    @RequestMapping(value = "/obj/get")
    User getUser(User user);
}
